﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AlarmManagePlatform.Forms
{
    public partial class ImagePreview : MetroFramework.Forms.MetroForm
    {
        public ImagePreview()
        {
            InitializeComponent();
            this.Text = "形象图片";
            pImage.BackgroundImageLayout = ImageLayout.Zoom;
        }

        public Bitmap ImagePicture
        {
            set {
                this.pImage.BackgroundImage = value;
            }
        }
    }
}
